﻿using System;
using System.Collections;
using System.Collections.Generic;
using FairyGUI;
using UIPackage_Main;
using UnityEngine;

public class UIManager : SingletonBehaviour<UIManager>
{
    private UI_View_Game _viewGame;

    private UI_View_Game ViewGame => _viewGame ?? (_viewGame = UI_View_Game.CreateInstance ());

    private void Awake ()
    { 
        UIPackage.AddPackage ("UI/UIPackage_Main"); 
        UIPackage_MainBinder.BindAll ();
    }

    // Start is called before the first frame update
    void Start()
    {
        ViewGame.Show ();
    }

    // Update is called once per frame
    void Update()
    {
        
    }
}
